package com.tlgen.modules.drugstore.service.mapper;

import com.tlgen.common.base.BaseMapper;
import com.tlgen.modules.drugstore.domain.MedicinalSort;
import com.tlgen.modules.drugstore.service.dto.MedicinalSortDto;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

/**功能描述：药品分类实体映射
 */
@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE)//未映射的目标属性被忽略
public interface MedicinalSortMapper extends BaseMapper<MedicinalSortDto, MedicinalSort> {
    MedicinalSortDto toDto(String name);
}
